package com.lineng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lineng.pojo.DownTable;
import com.lineng.pojo.DownTableExample;

public interface DownTableMapper {
	long countByExample(DownTableExample example);

	int deleteByExample(DownTableExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(DownTable record);

	int insertSelective(DownTable record);

	List<DownTable> selectByExample(DownTableExample example);

	DownTable selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") DownTable record, @Param("example") DownTableExample example);

	int updateByExample(@Param("record") DownTable record, @Param("example") DownTableExample example);

	int updateByPrimaryKeySelective(DownTable record);

	int updateByPrimaryKey(DownTable record);

	int updateDownTableReader(int reader);

	int deleteById(@Param("IDs") Integer[] idList);
}